#include "../source/config.hh"

using namespace cloud;

int main()
{
    std::cout << "        hot_time: " << config::instance().hot_time()        << std::endl;
    std::cout << "   upload_prefix: " << config::instance().upload_prefix()   << std::endl;
    std::cout << "   record_prefix: " << config::instance().record_prefix()   << std::endl;
    std::cout << " download_prefix: " << config::instance().download_prefix() << std::endl;
    std::cout << " filelist_prefix: " << config::instance().filelist_prefix() << std::endl;
    std::cout << "        back_dir: " << config::instance().back_dir()        << std::endl;
    std::cout << "        pack_dir: " << config::instance().pack_dir()        << std::endl;
    std::cout << "     pack_suffix: " << config::instance().pack_suffix()     << std::endl;
    std::cout << "     record_file: " << config::instance().record_file()     << std::endl;
    std::cout << "     server_port: " << config::instance().server_port()     << std::endl;
    std::cout << "        sql_user: " << config::instance().sql_user()        << std::endl;
    std::cout << "      sql_passwd: " << config::instance().sql_passwd()      << std::endl;
    std::cout << "        sql_host: " << config::instance().sql_host()        << std::endl;
    std::cout << "        sql_port: " << config::instance().sql_port()        << std::endl;
    std::cout << "          sql_db: " << config::instance().sql_db()          << std::endl;
    std::cout << "    persist_type: " << config::instance().persist_type()    << std::endl;
    std::cout << "      thread_num: " << config::instance().thread_num()      << std::endl;
    std::cout << "      queue_size: " << config::instance().queue_size()      << std::endl;

    return 0;
}
